The MovieDetails page shows you the detailed information about a movie you select in the Main page. For this to work, the Main page has to tell the MovieDetails page which movie the user selected. The MovieDetails page keeps track of the selected movie in its own instance variable. In this section, you'll:
Create a new component whose interface you'll create yourself.
Assign Main's selected movie to a variable in the MovieDetails page.
Create a way to navigate from Main to MovieDetails and back.
In the sections following this one, you'll extend the MovieDetails page to display movie roles and the starring actors.